import 'package:xin_he/generated/json/base/json_field.dart';
import 'package:xin_he/generated/json/xin_he_withdraw_model_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class XinHeWithdrawModelEntity {
	String? id;
	dynamic fUserId;
	double? money;
	double? serviceFee;
	double? realityAccountFee;
	String? status;
	String? type;
	String? assetType;
	String? mode;
	dynamic checkRemark;
	dynamic remark;
	String? code;
	String? name;
	String? mobile;
	dynamic createTime;
	dynamic bankName;
	dynamic bankCode;
	dynamic bankType;
	dynamic bankUserName;
	dynamic isMember;
	dynamic accountTime;
	dynamic wxPayMoney;

	XinHeWithdrawModelEntity();

	factory XinHeWithdrawModelEntity.fromJson(Map<String, dynamic> json) => $XinHeWithdrawModelEntityFromJson(json);

	Map<String, dynamic> toJson() => $XinHeWithdrawModelEntityToJson(this);

	XinHeWithdrawModelEntity copyWith({String? id, dynamic fUserId, double? money, double? serviceFee, double? realityAccountFee, String? status, String? type, String? assetType, String? mode, dynamic checkRemark, dynamic remark, String? code, String? name, String? mobile, dynamic createTime, dynamic bankName, dynamic bankCode, dynamic bankType, dynamic bankUserName, dynamic isMember, dynamic accountTime, dynamic wxPayMoney}) {
		return XinHeWithdrawModelEntity()
			..id= id ?? this.id
			..fUserId= fUserId ?? this.fUserId
			..money= money ?? this.money
			..serviceFee= serviceFee ?? this.serviceFee
			..realityAccountFee= realityAccountFee ?? this.realityAccountFee
			..status= status ?? this.status
			..type= type ?? this.type
			..assetType= assetType ?? this.assetType
			..mode= mode ?? this.mode
			..checkRemark= checkRemark ?? this.checkRemark
			..remark= remark ?? this.remark
			..code= code ?? this.code
			..name= name ?? this.name
			..mobile= mobile ?? this.mobile
			..createTime= createTime ?? this.createTime
			..bankName= bankName ?? this.bankName
			..bankCode= bankCode ?? this.bankCode
			..bankType= bankType ?? this.bankType
			..bankUserName= bankUserName ?? this.bankUserName
			..isMember= isMember ?? this.isMember
			..accountTime= accountTime ?? this.accountTime
			..wxPayMoney= wxPayMoney ?? this.wxPayMoney;
	}

	@override
	String toString() {
		return jsonEncode(this);
	}
}